package com.ljf.order.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Author: Ljf
 * @Date : 2019/2/2 16:57
 * @Description :
 */
@Data
public class OrderForm {
    @NotEmpty(message = "姓名必填")
    private String name;
    @NotEmpty(message = "手机号必填")
    private String phone;
    @NotEmpty(message = "地址必填")
    private String address;
    @NotEmpty(message = "openid必填")
    private String openid;

    @NotEmpty(message = "购物车不可为空")
    private String items;
}
